//
//  BNDPushVCHandler.h
//  OfficeDoc
//
//  Created by pie on 2022/4/1.
//  Copyright © 2022 pie. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "BNDOfficeDocDetailsWebVc.h"
#import "BNDOfficeDocModel.h"
#import "BNDPreference.h"

NS_ASSUME_NONNULL_BEGIN

@interface BNDPushVCHandler : NSObject

/**
 当前选中的导航控制器

 */
+ (UINavigationController *)currentSelectedNavController;

+ (UIViewController *)presentingViewController;

/**
 当前手机屏幕上显示的控制器

 */
+ (UIViewController *)topViewController;


///  跳转公告详情
/// @param detailsID  详情id
+ (void)pushOfficeDocDetailsVc:(BNDOfficeDocModel*)detailsID action:(VoidBlock)block;


/// 跳转web
/// @param url  web链接
/// @param state  状态
/// @param name  名字
+ (void)pushWenVc:(NSString*)url withDownload:(BNDWebState)state name:(NSString*)name;
@end

NS_ASSUME_NONNULL_END
